#ifndef __CONTROL_H__
#define __CONTROL_H__

#include <Windows.h>
#include <stdio.h>

#pragma comment(lib,"Winmm.lib")

// �Զ��嶨ʱ��
extern void custom_timer(int n, void (*callback)(UINT, UINT, DWORD_PTR, DWORD_PTR, DWORD_PTR));
extern int move_left(int n, int m);
extern int move_right(int n, int m);
extern int change_shape();
extern void fall_down();
extern int move_down(int num, int mode);
extern void timer_callback(UINT uTimerId, UINT uMsg, DWORD_PTR dwUser, DWORD_PTR dw1, DWORD_PTR dw2);
extern void print_matrix();
extern void print_score_level();
extern void eliminate_line();
extern void user_control();

#endif // !__CONTROL_H__
